﻿#region Copyright Information

// // ****************************************************************
// // Feel free to extend or modify the code of the application to your needs. 
// // But remember do it for the Glory of our Lord Jesus Christ
// // ****************************************************************

#endregion

#region Usings

using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;

#endregion

namespace UI
{
    /// <summary>
    ///     Interaction logic for Window1.xaml
    /// </summary>
    public partial class SecondScreen
    {
        /// <summary>
        ///     Constructor for the<see cref="SecondScreen" /> class.
        /// </summary>
        /// <param name="lyricList">The list of verses to be shown.</param>
        public SecondScreen(IEnumerable<string> lyricList)
        {
            InitializeComponent();

            foreach (var v in lyricList)
            {
                liveContainer.Children.Add(new TextBlock
                                               {
                                                   Text = v,
                                                   FontSize = 60,
                                                   HorizontalAlignment = HorizontalAlignment.Center,
                                                   VerticalAlignment = VerticalAlignment.Center
                                               });
            }
        }
    }
}